package com.university.sol.util;

import java.util.Random;

/**
 * @Author 侯瑞阳
 * @Date 2019/6/7 3:08
 **/
public class UserNumUtil {
    /**
     * 随机生成用户编号
     * @return
     */
    public static long userNum() {
        long currentTime = System.currentTimeMillis();
        return currentTime + new Random().nextInt(100);
    }
}
